home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
CCOLOR.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
537b
|
23 lines
ccolor(int row, int col, int attr, int len)
/* This routine will change the color attributes of a column of characters.
row=row to start changing color
col=col to start changing color
attr=attribute to change to
len=number of rows down the screen to change.
*/
{
extern color, mono, cga, ega, scrseg, bios;
int i, orow, ocol;
if(bios) get_cur(&orow,&ocol);
for (i = 0; i < len; i++)
{
if(row>24) break;
swrite_a(row,col,attr);
row++;
}
if(bios) locate(orow,ocol);
return;
}